//
// Created by dl on 16/3/9.
// Copyright (c) 2016 lrlz. All rights reserved.
//

#import "CollectionTest.h"

@interface CollectionTest () <NSCopying, NSMutableCopying>
//@property(nonatomic, strong, readwrite, null_resettable) NSObject *initObj __attribute__((obj_method_family(none)));
@property (nonatomic, strong) NSObject *_objTest;
@property (nonatomic, strong) NSObject *objTest;
@end

@implementation CollectionTest {

@private
//    NSObject *_objTest;
}

//@synthesize objTest = _objTest;

+ (void)test {

    NSArray *array = @[];

    CFAbsoluteTime t1 = CFAbsoluteTimeGetCurrent();
    for (NSUInteger i = 0; i < array.count; ++i) {

    }
    NSLog(@"CFAbsoluteTimeGetCurrent():%@", @(CFAbsoluteTimeGetCurrent() - t1));
}

- (id)copyWithZone:(NSZone *)zone {
//    self.objTest = nil;
//    self->_objTest22;
//    self->_objTest;
//    self->objTest;
//    self->_objTest;
//    self->__objTest;
    _objTest = nil;
    return nil;
}

- (id)mutableCopyWithZone:(NSZone *)zone {
    return nil;
}


@end